package cn.relx.org.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.relx.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author relx
 * @since 2022-10-15
 */
@Data
public class Shop extends BaseDomain{
    private String name;
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime = new Date();
    /**
     * 店铺状态：0待审核，1以审核，-1驳回，2待激活
     */
    private Integer state = 0;
    private String address;
    private String logo;
    private Long adminId;
    // 管理员
    private Employee admin;
}
